<div class="row">
    <div class="col-xs-12">
        <div class="panel panel-midnightblue">
            <div class="panel-body">
                <form action="" class="form-horizontal row-border"  data-validate="parsley" id="validate-form">
                    <div class="form-group col-sm-12">
                    		<label class="col-sm-3 control-label" >店铺名称:</label>
                    		<div class="col-sm-6">
                    			<input type="text"  readonly="readonly" value="{$shop.shop_name}" readonly class="form-control">
                    		</div>
                    </div>	
                    <div class="form-group col-sm-12">
                    		<label class="col-sm-3 control-label" >权限:</label>
                    		<div class="col-sm-6">
                    			{foreach name="auths" item="v" key="k"}
	                    			<div class="checkbox" style="display: inline-block;">
	                    				<label class="label label-warning">
	                    					<input type="checkbox" name="auth_code[]"  {in name="k" value="$has_auths"}checked{/in}  value="{$k}" />
	                    						{$v}
	                    				</label>
	                    			</div>
	                    			&nbsp;&nbsp;&nbsp;&nbsp;
                    			{/foreach}
                    		</div>
                    </div>	
                   
                    <input type="hidden"  value="{$shop.id}" name="shop_id"/>
                     <input type="hidden"  value="1" name="is_submit"/>
                </form>
            </div>
            <div class="panel-footer">
                <div class="row">
                    <div class="col-sm-6 col-sm-offset-3">
                        <div class="btn-toolbar">
                            <button class="btn-primary btn" id="form-submit">提交</button>
                            <button class="btn-default btn" data-dismiss="modal">关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type='text/javascript' src='{$Think.OPERATION_VIEW_JS}shop/smallappAuth.js'></script>